import { request } from 'ice';

// 获取隧道列表
export async function getTunnels () {
  return await request('/api/tunnels');
}

// 删除隧道
export async function delTunnels (tunnels) {
  return await request({
    url: `/api/devices/apply/delTunnel`,
    method: 'post',
    data: {
      "method": "deltunnels",
      "tunnels": tunnels
    }
  })
}
